package cn.tanghom.baiding.service.system.dao;

import cn.tanghom.baiding.api.system.model.User;
import cn.tanghom.baiding.core.dao.BaseDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * UserMapper
 *
 * @author tanghom<tanghom@qq.com> 2016/4/24
 */
@Repository
public interface UserDao extends BaseDao<User> {
    /**
     * 根据用户名查找用户
     *
     * @param loginName
     * @return
     */
    User selectByLoginName(String loginName);
}
